package cn.iocoder.yudao.module.crm.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 课程课件 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CourseMaterialRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8151")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "课件图片", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("课件图片")
    private String icon;

    @Schema(description = "展示顺序")
    @ExcelProperty("展示顺序")
    private Integer sort;

    @Schema(description = "课件类型", example = "1")
    @ExcelProperty("课件类型")
    private Integer materialType;

    @Schema(description = "课件地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("课件地址")
    private String materialUrl;

    @Schema(description = "课件时长", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("课件时长")
    private String materialDuration;

    @Schema(description = "老师", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("老师")
    private String teacher;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否已禁用。{ 0：正常；1：禁用；}")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}